{
  "properties" : { },
  "id" : "dedfce777cdb40a7a964ab5e2e2eb390",
  "script" : null,
  "groupId" : "5e08b223a1574fc18b3818c72634a0ab",
  "name" : "删除告警联系人",
  "createTime" : 1727070926764,
  "updateTime" : 1724893095481,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "remove",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\n    \"ids\":\"7,8\"\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : null,
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
ids = body.ids
idList = ids.split(",")
// 批量删除，返回删除条数
return db.update("""
        delete from alarm_contact where id in 
        <foreach collection="idList" open="(" separator="," close=")" item="item">
            #{item}
        </foreach>
    """)